package top.linesoft.biptstudy;

class OfferCourse implements java.io.Serializable {
    Course course;
    Teacher teacher;

    OfferCourse(Course course, Teacher teacher) {
        this.course = course;
        this.teacher = teacher;
    }

    public String toString() {
        return "编号：" + this.course.id + "、课程名称：" + this.course.name + "、上课地点："
                + this.course.place + "、时间：" + this.course.time + "、授课教师："
                + this.teacher.name;
    }
}
